<article >
    <h1><?php echo GxHtml::encode($title);?></h1>
    
    <?php if (1 < count($regions)):?>
        <p><?php echo Yii::t('app', 'Список регионов');?></p>
        <ul>
        <?php foreach($regions as $region):?>
            <li>
                <label><?php echo GxHtml::encode($region['name']);?>: <?php echo count($region['cities']);?></label>
            </li>
        <?php endforeach;?>
        </ul>
    <?php elseif (1 == count($regions)):?>
        <?php $region = $regions[0]; ?>
        <label><?php echo GxHtml::encode($region['name']);?>: <?php echo count($region['cities']);?></label>
    <?php else:?>
        
    <?php endif;?>
    
</article>